package com.huangfu.easysardine.gate.rpc;

import com.huangfu.easysardine.common.vo.log.LogInfo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created with IntelliJ IDEA.
 * User: huangfu.daohui
 * Date: 2017-8-14
 * Time: 13:45
 * Description:跨服务日志调用
 */
@FeignClient("admin-back")
public interface ILogService {
    @RequestMapping(value = "/api/log/save", method = RequestMethod.POST)
    public void saveLog(LogInfo info);
}
